﻿<extend name="../Public/base" />
<block name="title">标签{$TITLE}</block>
<block name="body">
    <div class="cl pd-5 bg-1 bk-gray mt-20">
        <span class="l"><a href="javascript:;" onclick="layer_show('添加{$TITLE}','{:U("add")}','800','250')" class="btn btn-primary radius"><i class="Hui-iconfont">&#xe600;</i> 添加{$TITLE}</a></span>
    </div>
    <div class="mt-20">
        <table class="table table-border table-bordered table-bg">
            <thead>
                <tr class="text-l">
                    <th width="20%">ID</th>
                    <th width="40%">{$TITLE}名称</th>
                    <th width="40%">操作</th>
                </tr>
            </thead>
            <tbody>
            <volist name="list" id="info">
                <tr class="text-c">
                    <td>{$info.tag_id}</td>
                    <td>{$info.tag_name}</td>
                    <td class="f-14">
                        <a title="编辑" href="javascript:;" onclick="layer_show('编辑{$TITLE}','{:U('edit',array('tag_id'=>$info['tag_id']))}','800','250')" >
                            <i class="Hui-iconfont">&#xe6df;</i>
                        </a>
                        <a title="删除" href="javascript:;" onclick="del('{$info.tag_id}','tag_id')" class="ml-5" >
                            <i class="Hui-iconfont">&#xe6e2;</i>
                        </a>
                    </td>
                </tr>
            </volist>
            </tbody>
        </table>
        </div>
        <div class='paging_simple_numbers'>
           {$page}
        </div>
    </div>
</block>